/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.service;


import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.patient.health.dao.OperationRecDao;
import com.jims.master.modules.patient.health.entity.OperationRec;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 手术史表Service
 * @author xueyx
 * @version 2017-07-20
 */
@Service
@Transactional(readOnly = true)
public class OperationRecService extends CrudService<OperationRecDao, OperationRec> {

	@Autowired
	OperationRecDao operationRecDao;
	@Override
    public List<OperationRec> findList(OperationRec operationRec) {
		return super.findList(operationRec);
	}
	
	@Override
    public Page<OperationRec> findPage(Page<OperationRec> page, OperationRec operationRec) {
		return super.findPage(page, operationRec);
	}
	public List<OperationRec> findByBaseId(String baseid){
		return operationRecDao.findByBaseId(baseid);
	}
}